package com.doublefish.doublefishrobot.utils;

/**
 * 作者:dugaofeng on 2024/10/18 17:03
 */
public class MessageEvent {

    public static String BLE_CONNECT_STATE_SUCCESS = "bleConnectStateSuccess";  //蓝牙连接成功的状态
    public static String BLE_CONNECT_STATE_OTHER = "bleConnectStateOther";  //蓝牙连接的其他状态

    public static String BLE_CONNECT_SUCCESS = "bleConnectSuccess";  //蓝牙连接成功
    public static String BLE_CONNECT_FAIL = "bleConnectFail";  //蓝牙连接失败/断开蓝牙

    public static String CUSTOM_MODE_CHANGED = "customModeChanged";  //自定义模式数据变化
    public static String BIND_DEVICES_CHANGED_NOTI  = "BindDeviesChanged";     //绑定设备发生了变化


    public static String APP_BACKGROUND = "appBackground";     //app进入后台
    public static String APP_FOREGROUND  = "appForeground";    //app进入前台

    public static String KEYBOARD_SHOW  = "keyboardShow";    //键盘弹出
    public static String KEYBOARD_HIDE  = "keyboardHide";    //键盘回收


    private String tag;
    private Object data;

    public MessageEvent(String tag, Object data) {
        this.tag = tag;
        this.data = data;
    }

    public String getTag() {
        return tag;
    }

    public Object getData() {
        return data;
    }
}

